package com.ease.integration.context.vo;

import java.io.Serializable;

import com.ease.integration.message.RequestMessage;
import com.ease.integration.message.ResponseMessage;

/**
 * 作为业务服务器和接口服务器间传输的对象
 * 
 * @author nathanleewei
 * 
 */
public class IntegrationServiceContext implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6355296609990737919L;

	/**
	 * 服务的key
	 */
	private String integrationServiceDefinitionKey;

	/**
	 * 调用的service
	 */
	private String serviceClass;

	/**
	 * 调用的方法
	 */
	private String serviceMethod;

	/**
	 * 接口日志上的key,供快速查询日志用
	 */
	private String serviceKey;

	private RequestMessage requestMessage;

	private ResponseMessage responseMessage;

	public String getServiceClass() {
		return serviceClass;
	}

	public void setServiceClass(String serviceClass) {
		this.serviceClass = serviceClass;
	}

	public String getServiceMethod() {
		return serviceMethod;
	}

	public void setServiceMethod(String serviceMethod) {
		this.serviceMethod = serviceMethod;
	}

	public RequestMessage getRequestMessage() {
		return requestMessage;
	}

	public void setRequestMessage(RequestMessage requestMessage) {
		this.requestMessage = requestMessage;
	}

	public ResponseMessage getResponseMessage() {
		return responseMessage;
	}

	public void setResponseMessage(ResponseMessage responseMessage) {
		this.responseMessage = responseMessage;
	}

	public String getIntegrationServiceDefinitionKey() {
		return integrationServiceDefinitionKey;
	}

	public void setIntegrationServiceDefinitionKey(String integrationServiceDefinitionKey) {
		this.integrationServiceDefinitionKey = integrationServiceDefinitionKey;
	}

	public String getServiceKey() {
		return serviceKey;
	}

	public void setServiceKey(String serviceKey) {
		this.serviceKey = serviceKey;
	}
}
